package com.nine.common.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.sql.Date;

//平台查看订单
@Data
@JsonInclude(JsonInclude.Include.ALWAYS)
public class OrderFormVO101 {
    private Long orderId;

    private Long userId;

    private String userName;

    private String productType;

    private Long engineerId;

    private String engineerName;

    private String orderDescription;

    private int orderPriority;

    private String orderClientphone;

    private String orderClientname;

    private int orderStatus;

    private int orderVisibleu;

    private int orderVisiblee;

    private String orderProvince;

    private String orderCity;

    private String orderArea;

    private String orderAddress;

    private String orderVerify;

    private Date orderDate;

    private Integer orderTime;


    public OrderFormVO101(OrderForm orderForm, String userName, String engineerName){

        this.orderId=orderForm.getOrderId();
        this.userId=orderForm.getUserId();
        this.productType=orderForm.getProductType();
        this.engineerId=orderForm.getEngineerId();
        this.orderDescription=orderForm.getOrderDescription();
        this.orderPriority=orderForm.getOrderPriority();
        this.orderClientphone=orderForm.getOrderClientphone();
        this.orderStatus=orderForm.getOrderStatus();
        this.orderVisibleu=orderForm.getOrderVisibleu();
        this.orderVisiblee=orderForm.getOrderVisiblee();
        this.orderProvince=orderForm.getOrderProvince();
        this.orderCity=orderForm.getOrderCity();
        this.orderArea=orderForm.getOrderArea();
        this.orderAddress=orderForm.getOrderAddress();
        this.orderDate=orderForm.getOrderDate();
        this.orderTime=orderForm.getOrderTime();
        this.orderClientname=orderForm.getOrderClientname();
        this.orderVerify = orderForm.getOrderVerify();


        this.userName=userName;
        this.engineerName=engineerName;
    }
}
